<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>npyscreen.monthbox</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="npyscreen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="npyscreen-module.html">Package&nbsp;npyscreen</a> ::
        Module&nbsp;monthbox
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="npyscreen.monthbox-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="npyscreen.monthbox-module.html">Module npyscreen.monthbox</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module npyscreen.widget=npyscreen.widget-module.html"><a title="npyscreen.widget" class="py-name" href="#" onclick="return doclink('link-0', 'widget', 'link-0');">widget</a></tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">calendar</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">datetime</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">curses</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"> </tt>
<a name="DateEntryBase"></a><div id="DateEntryBase-def"><a name="L8"></a><tt class="py-lineno">  8</tt> <a class="py-toggle" href="#" id="DateEntryBase-toggle" onclick="return toggle('DateEntryBase');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html">DateEntryBase</a><tt class="py-op">(</tt><tt class="py-base-class">widget</tt><tt class="py-op">.</tt><tt class="py-base-class">Widget</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="DateEntryBase-expanded"><a name="DateEntryBase.__init__"></a><div id="DateEntryBase.__init__-def"><a name="L9"></a><tt class="py-lineno">  9</tt> <a class="py-toggle" href="#" id="DateEntryBase.__init__-toggle" onclick="return toggle('DateEntryBase.__init__');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">screen</tt><tt class="py-op">,</tt> <tt class="py-param">allowPastDate</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">allowTodaysDate</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">keywords</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.__init__-expanded"><a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line">                <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-1" class="py-name" targets="Class npyscreen.monthbox.DateEntryBase=npyscreen.monthbox.DateEntryBase-class.html"><a title="npyscreen.monthbox.DateEntryBase" class="py-name" href="#" onclick="return doclink('link-1', 'DateEntryBase', 'link-1');">DateEntryBase</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method npyscreen.Form.Form.__init__()=npyscreen.Form.Form-class.html#__init__,Method npyscreen.FormWithMenus.ActionFormWithMenus.__init__()=npyscreen.FormWithMenus.ActionFormWithMenus-class.html#__init__,Method npyscreen.FormWithMenus.FormWithMenus.__init__()=npyscreen.FormWithMenus.FormWithMenus-class.html#__init__,Method npyscreen.Menu.Menu.__init__()=npyscreen.Menu.Menu-class.html#__init__,Method npyscreen.MenuScreen.MenuScreen.__init__()=npyscreen.MenuScreen.MenuScreen-class.html#__init__,Method npyscreen.NMenuDisplay.MenuDisplay.__init__()=npyscreen.NMenuDisplay.MenuDisplay-class.html#__init__,Method npyscreen.NPSAppManaged.NPSAppManaged.__init__()=npyscreen.NPSAppManaged.NPSAppManaged-class.html#__init__,Method npyscreen.NewMenu.MenuItem.__init__()=npyscreen.NewMenu.MenuItem-class.html#__init__,Method npyscreen.NewMenu.NewMenu.__init__()=npyscreen.NewMenu.NewMenu-class.html#__init__,Method npyscreen.Popup.ActionPopup.__init__()=npyscreen.Popup.ActionPopup-class.html#__init__,Method npyscreen.Popup.MessagePopup.__init__()=npyscreen.Popup.MessagePopup-class.html#__init__,Method npyscreen.Popup.Popup.__init__()=npyscreen.Popup.Popup-class.html#__init__,Method npyscreen.button.MiniButton.__init__()=npyscreen.button.MiniButton-class.html#__init__,Method npyscreen.checkbox.Checkbox.__init__()=npyscreen.checkbox.Checkbox-class.html#__init__,Method npyscreen.combobox.ComboBox.__init__()=npyscreen.combobox.ComboBox-class.html#__init__,Method npyscreen.datecombo.DateCombo.__init__()=npyscreen.datecombo.DateCombo-class.html#__init__,Method npyscreen.editmultiline.MultiLineEdit.__init__()=npyscreen.editmultiline.MultiLineEdit-class.html#__init__,Method npyscreen.monthbox.DateEntryBase.__init__()=npyscreen.monthbox.DateEntryBase-class.html#__init__,Method npyscreen.monthbox.MonthBox.__init__()=npyscreen.monthbox.MonthBox-class.html#__init__,Method npyscreen.multiline.MultiLine.__init__()=npyscreen.multiline.MultiLine-class.html#__init__,Method npyscreen.screen_area.ScreenArea.__init__()=npyscreen.screen_area.ScreenArea-class.html#__init__,Method npyscreen.slider.Slider.__init__()=npyscreen.slider.Slider-class.html#__init__,Method npyscreen.textbox.Textfield.__init__()=npyscreen.textbox.Textfield-class.html#__init__,Method npyscreen.titlefield.TitleText.__init__()=npyscreen.titlefield.TitleText-class.html#__init__,Method npyscreen.widget.Widget.__init__()=npyscreen.widget.Widget-class.html#__init__"><a title="npyscreen.Form.Form.__init__
npyscreen.FormWithMenus.ActionFormWithMenus.__init__
npyscreen.FormWithMenus.FormWithMenus.__init__
npyscreen.Menu.Menu.__init__
npyscreen.MenuScreen.MenuScreen.__init__
npyscreen.NMenuDisplay.MenuDisplay.__init__
npyscreen.NPSAppManaged.NPSAppManaged.__init__
npyscreen.NewMenu.MenuItem.__init__
npyscreen.NewMenu.NewMenu.__init__
npyscreen.Popup.ActionPopup.__init__
npyscreen.Popup.MessagePopup.__init__
npyscreen.Popup.Popup.__init__
npyscreen.button.MiniButton.__init__
npyscreen.checkbox.Checkbox.__init__
npyscreen.combobox.ComboBox.__init__
npyscreen.datecombo.DateCombo.__init__
npyscreen.editmultiline.MultiLineEdit.__init__
npyscreen.monthbox.DateEntryBase.__init__
npyscreen.monthbox.MonthBox.__init__
npyscreen.multiline.MultiLine.__init__
npyscreen.screen_area.ScreenArea.__init__
npyscreen.slider.Slider.__init__
npyscreen.textbox.Textfield.__init__
npyscreen.titlefield.TitleText.__init__
npyscreen.widget.Widget.__init__" class="py-name" href="#" onclick="return doclink('link-2', '__init__', 'link-2');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">screen</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">keywords</tt><tt class="py-op">)</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">allow_date_in_past</tt> <tt class="py-op">=</tt> <tt class="py-name">allowPastDate</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">allow_todays_date</tt>  <tt class="py-op">=</tt> <tt class="py-name">allowTodaysDate</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_max</tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">max</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_min</tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">min</tt> </tt>
</div><a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line">                 </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"> </tt>
<a name="DateEntryBase._check_date"></a><div id="DateEntryBase._check_date-def"><a name="L17"></a><tt class="py-lineno"> 17</tt> <a class="py-toggle" href="#" id="DateEntryBase._check_date-toggle" onclick="return toggle('DateEntryBase._check_date');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#_check_date">_check_date</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase._check_date-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase._check_date-expanded"><a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">allow_date_in_past</tt><tt class="py-op">:</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line">                        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Variable npyscreen.slider.Slider.value=npyscreen.slider.Slider-class.html#value,Variable npyscreen.titlefield.TitleText.value=npyscreen.titlefield.TitleText-class.html#value"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-3', 'value', 'link-3');">value</a></tt> <tt class="py-op">&lt;</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">today</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">                                <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">allow_todays_date</tt><tt class="py-op">:</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">                                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-4', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">today</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">                                <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">                                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-5', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">today</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt>               </tt>
</div><a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">                 </tt>
<a name="DateEntryBase._check_today_validity"></a><div id="DateEntryBase._check_today_validity-def"><a name="L25"></a><tt class="py-lineno"> 25</tt> <a class="py-toggle" href="#" id="DateEntryBase._check_today_validity-toggle" onclick="return toggle('DateEntryBase._check_today_validity');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#_check_today_validity">_check_today_validity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase._check_today_validity-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase._check_today_validity-expanded"><a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">                <tt class="py-docstring">"""If not allowed to select today's date, and today is selected, move either higher or lower</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-docstring">depending on the value of onErrorHigher"""</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">allow_date_in_past</tt><tt class="py-op">:</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">                        <tt class="py-name">onErrorHigher</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">allow_todays_date</tt><tt class="py-op">:</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">                        <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">                <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">                        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-6', 'value', 'link-3');">value</a></tt> <tt class="py-op">==</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">today</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">                                <tt class="py-keyword">if</tt> <tt class="py-name">onErrorHigher</tt><tt class="py-op">:</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">                                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-7', 'value', 'link-3');">value</a></tt> <tt class="py-op">+=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">                                <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">                                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-8', 'value', 'link-3');">value</a></tt> <tt class="py-op">-=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
</div><a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">         </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">         </tt>
<a name="DateEntryBase.set_up_handlers"></a><div id="DateEntryBase.set_up_handlers-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="DateEntryBase.set_up_handlers-toggle" onclick="return toggle('DateEntryBase.set_up_handlers');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#set_up_handlers">set_up_handlers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.set_up_handlers-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.set_up_handlers-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">                <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="npyscreen.monthbox.DateEntryBase" class="py-name" href="#" onclick="return doclink('link-9', 'DateEntryBase', 'link-1');">DateEntryBase</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method npyscreen.Form.Form.set_up_handlers()=npyscreen.Form.Form-class.html#set_up_handlers,Method npyscreen.autocomplete.Autocomplete.set_up_handlers()=npyscreen.autocomplete.Autocomplete-class.html#set_up_handlers,Method npyscreen.checkbox.Checkbox.set_up_handlers()=npyscreen.checkbox.Checkbox-class.html#set_up_handlers,Method npyscreen.combobox.ComboBox.set_up_handlers()=npyscreen.combobox.ComboBox-class.html#set_up_handlers,Method npyscreen.datecombo.DateCombo.set_up_handlers()=npyscreen.datecombo.DateCombo-class.html#set_up_handlers,Method npyscreen.editmultiline.MultiLineEdit.set_up_handlers()=npyscreen.editmultiline.MultiLineEdit-class.html#set_up_handlers,Method npyscreen.monthbox.DateEntryBase.set_up_handlers()=npyscreen.monthbox.DateEntryBase-class.html#set_up_handlers,Method npyscreen.monthbox.MonthBox.set_up_handlers()=npyscreen.monthbox.MonthBox-class.html#set_up_handlers,Method npyscreen.multiline.MultiLine.set_up_handlers()=npyscreen.multiline.MultiLine-class.html#set_up_handlers,Method npyscreen.multiline.Pager.set_up_handlers()=npyscreen.multiline.Pager-class.html#set_up_handlers,Method npyscreen.multiselect.MultiSelect.set_up_handlers()=npyscreen.multiselect.MultiSelect-class.html#set_up_handlers,Method npyscreen.multiselect.MultiSelectFixed.set_up_handlers()=npyscreen.multiselect.MultiSelectFixed-class.html#set_up_handlers,Method npyscreen.slider.Slider.set_up_handlers()=npyscreen.slider.Slider-class.html#set_up_handlers,Method npyscreen.textbox.Textfield.set_up_handlers()=npyscreen.textbox.Textfield-class.html#set_up_handlers,Method npyscreen.widget.InputHandler.set_up_handlers()=npyscreen.widget.InputHandler-class.html#set_up_handlers"><a title="npyscreen.Form.Form.set_up_handlers
npyscreen.autocomplete.Autocomplete.set_up_handlers
npyscreen.checkbox.Checkbox.set_up_handlers
npyscreen.combobox.ComboBox.set_up_handlers
npyscreen.datecombo.DateCombo.set_up_handlers
npyscreen.editmultiline.MultiLineEdit.set_up_handlers
npyscreen.monthbox.DateEntryBase.set_up_handlers
npyscreen.monthbox.MonthBox.set_up_handlers
npyscreen.multiline.MultiLine.set_up_handlers
npyscreen.multiline.Pager.set_up_handlers
npyscreen.multiselect.MultiSelect.set_up_handlers
npyscreen.multiselect.MultiSelectFixed.set_up_handlers
npyscreen.slider.Slider.set_up_handlers
npyscreen.textbox.Textfield.set_up_handlers
npyscreen.widget.InputHandler.set_up_handlers" class="py-name" href="#" onclick="return doclink('link-10', 'set_up_handlers', 'link-10');">set_up_handlers</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">handlers</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method npyscreen.button.MiniButton.update()=npyscreen.button.MiniButton-class.html#update,Method npyscreen.checkbox.Checkbox.update()=npyscreen.checkbox.Checkbox-class.html#update,Method npyscreen.combobox.ComboBox.update()=npyscreen.combobox.ComboBox-class.html#update,Method npyscreen.datecombo.DateCombo.update()=npyscreen.datecombo.DateCombo-class.html#update,Method npyscreen.editmultiline.MultiLineEdit.update()=npyscreen.editmultiline.MultiLineEdit-class.html#update,Method npyscreen.monthbox.MonthBox.update()=npyscreen.monthbox.MonthBox-class.html#update,Method npyscreen.multiline.MultiLine.update()=npyscreen.multiline.MultiLine-class.html#update,Method npyscreen.multiline.Pager.update()=npyscreen.multiline.Pager-class.html#update,Method npyscreen.selectone.SelectOne.update()=npyscreen.selectone.SelectOne-class.html#update,Method npyscreen.slider.Slider.update()=npyscreen.slider.Slider-class.html#update,Method npyscreen.textbox.FixedText.update()=npyscreen.textbox.FixedText-class.html#update,Method npyscreen.textbox.Textfield.update()=npyscreen.textbox.Textfield-class.html#update,Method npyscreen.titlefield.TitleText.update()=npyscreen.titlefield.TitleText-class.html#update,Method npyscreen.widget.Widget.update()=npyscreen.widget.Widget-class.html#update"><a title="npyscreen.button.MiniButton.update
npyscreen.checkbox.Checkbox.update
npyscreen.combobox.ComboBox.update
npyscreen.datecombo.DateCombo.update
npyscreen.editmultiline.MultiLineEdit.update
npyscreen.monthbox.MonthBox.update
npyscreen.multiline.MultiLine.update
npyscreen.multiline.Pager.update
npyscreen.selectone.SelectOne.update
npyscreen.slider.Slider.update
npyscreen.textbox.FixedText.update
npyscreen.textbox.Textfield.update
npyscreen.titlefield.TitleText.update
npyscreen.widget.Widget.update" class="py-name" href="#" onclick="return doclink('link-11', 'update', 'link-11');">update</a></tt><tt class="py-op">(</tt><tt class="py-op">{</tt> <tt class="py-string">"D"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_day_less()=npyscreen.monthbox.DateEntryBase-class.html#h_day_less"><a title="npyscreen.monthbox.DateEntryBase.h_day_less" class="py-name" href="#" onclick="return doclink('link-12', 'h_day_less', 'link-12');">h_day_less</a></tt><tt class="py-op">,</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">                                                           <tt class="py-string">"d"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_day_more()=npyscreen.monthbox.DateEntryBase-class.html#h_day_more"><a title="npyscreen.monthbox.DateEntryBase.h_day_more" class="py-name" href="#" onclick="return doclink('link-13', 'h_day_more', 'link-13');">h_day_more</a></tt><tt class="py-op">,</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">                                                           <tt class="py-string">"W"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_week_less()=npyscreen.monthbox.DateEntryBase-class.html#h_week_less"><a title="npyscreen.monthbox.DateEntryBase.h_week_less" class="py-name" href="#" onclick="return doclink('link-14', 'h_week_less', 'link-14');">h_week_less</a></tt><tt class="py-op">,</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">                                                           <tt class="py-string">"w"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_week_more()=npyscreen.monthbox.DateEntryBase-class.html#h_week_more"><a title="npyscreen.monthbox.DateEntryBase.h_week_more" class="py-name" href="#" onclick="return doclink('link-15', 'h_week_more', 'link-15');">h_week_more</a></tt><tt class="py-op">,</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">                                                           <tt class="py-string">"M"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_month_less()=npyscreen.monthbox.DateEntryBase-class.html#h_month_less"><a title="npyscreen.monthbox.DateEntryBase.h_month_less" class="py-name" href="#" onclick="return doclink('link-16', 'h_month_less', 'link-16');">h_month_less</a></tt><tt class="py-op">,</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">                                                           <tt class="py-string">"m"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_month_more()=npyscreen.monthbox.DateEntryBase-class.html#h_month_more"><a title="npyscreen.monthbox.DateEntryBase.h_month_more" class="py-name" href="#" onclick="return doclink('link-17', 'h_month_more', 'link-17');">h_month_more</a></tt><tt class="py-op">,</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">                                                           <tt class="py-string">"Y"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_year_less()=npyscreen.monthbox.DateEntryBase-class.html#h_year_less"><a title="npyscreen.monthbox.DateEntryBase.h_year_less" class="py-name" href="#" onclick="return doclink('link-18', 'h_year_less', 'link-18');">h_year_less</a></tt><tt class="py-op">,</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">                                                           <tt class="py-string">"y"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_year_more()=npyscreen.monthbox.DateEntryBase-class.html#h_year_more"><a title="npyscreen.monthbox.DateEntryBase.h_year_more" class="py-name" href="#" onclick="return doclink('link-19', 'h_year_more', 'link-19');">h_year_more</a></tt><tt class="py-op">,</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">                                                           <tt class="py-string">"t"</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase.h_find_today()=npyscreen.monthbox.DateEntryBase-class.html#h_find_today"><a title="npyscreen.monthbox.DateEntryBase.h_find_today" class="py-name" href="#" onclick="return doclink('link-20', 'h_find_today', 'link-20');">h_find_today</a></tt><tt class="py-op">,</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">                                                        <tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
</div><a name="DateEntryBase._reduce_value_by_delta"></a><div id="DateEntryBase._reduce_value_by_delta-def"><a name="L52"></a><tt class="py-lineno"> 52</tt> <a class="py-toggle" href="#" id="DateEntryBase._reduce_value_by_delta-toggle" onclick="return toggle('DateEntryBase._reduce_value_by_delta');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#_reduce_value_by_delta">_reduce_value_by_delta</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">delta</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase._reduce_value_by_delta-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase._reduce_value_by_delta-expanded"><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">                <tt class="py-name">old_value</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-21', 'value', 'link-3');">value</a></tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-22', 'value', 'link-3');">value</a></tt> <tt class="py-op">-=</tt> <tt class="py-name">delta</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-23', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">old_value</tt> </tt>
</div><a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">         </tt>
<a name="DateEntryBase._increase_value_by_delta"></a><div id="DateEntryBase._increase_value_by_delta-def"><a name="L59"></a><tt class="py-lineno"> 59</tt> <a class="py-toggle" href="#" id="DateEntryBase._increase_value_by_delta-toggle" onclick="return toggle('DateEntryBase._increase_value_by_delta');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#_increase_value_by_delta">_increase_value_by_delta</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">delta</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase._increase_value_by_delta-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase._increase_value_by_delta-expanded"><a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">                <tt class="py-name">old_value</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-24', 'value', 'link-3');">value</a></tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-25', 'value', 'link-3');">value</a></tt> <tt class="py-op">+=</tt> <tt class="py-name">delta</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-26', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">old_value</tt> </tt>
</div><a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">         </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">         </tt>
<a name="DateEntryBase.h_day_less"></a><div id="DateEntryBase.h_day_less-def"><a name="L67"></a><tt class="py-lineno"> 67</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_day_less-toggle" onclick="return toggle('DateEntryBase.h_day_less');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_day_less">h_day_less</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_day_less-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_day_less-expanded"><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase._reduce_value_by_delta()=npyscreen.monthbox.DateEntryBase-class.html#_reduce_value_by_delta"><a title="npyscreen.monthbox.DateEntryBase._reduce_value_by_delta" class="py-name" href="#" onclick="return doclink('link-27', '_reduce_value_by_delta', 'link-27');">_reduce_value_by_delta</a></tt><tt class="py-op">(</tt><tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase._check_date()=npyscreen.monthbox.DateEntryBase-class.html#_check_date"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-28', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase._check_today_validity()=npyscreen.monthbox.DateEntryBase-class.html#_check_today_validity"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-29', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
</div><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"> </tt>
<a name="DateEntryBase.h_day_more"></a><div id="DateEntryBase.h_day_more-def"><a name="L72"></a><tt class="py-lineno"> 72</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_day_more-toggle" onclick="return toggle('DateEntryBase.h_day_more');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_day_more">h_day_more</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_day_more-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_day_more-expanded"><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name" targets="Method npyscreen.monthbox.DateEntryBase._increase_value_by_delta()=npyscreen.monthbox.DateEntryBase-class.html#_increase_value_by_delta"><a title="npyscreen.monthbox.DateEntryBase._increase_value_by_delta" class="py-name" href="#" onclick="return doclink('link-30', '_increase_value_by_delta', 'link-30');">_increase_value_by_delta</a></tt><tt class="py-op">(</tt><tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-31', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-32', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
</div><a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">         </tt>
<a name="DateEntryBase.h_week_less"></a><div id="DateEntryBase.h_week_less-def"><a name="L77"></a><tt class="py-lineno"> 77</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_week_less-toggle" onclick="return toggle('DateEntryBase.h_week_less');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_week_less">h_week_less</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_week_less-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_week_less-expanded"><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._reduce_value_by_delta" class="py-name" href="#" onclick="return doclink('link-33', '_reduce_value_by_delta', 'link-27');">_reduce_value_by_delta</a></tt><tt class="py-op">(</tt><tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">7</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-34', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-35', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
</div><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">         </tt>
<a name="DateEntryBase.h_week_more"></a><div id="DateEntryBase.h_week_more-def"><a name="L82"></a><tt class="py-lineno"> 82</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_week_more-toggle" onclick="return toggle('DateEntryBase.h_week_more');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_week_more">h_week_more</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_week_more-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_week_more-expanded"><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._increase_value_by_delta" class="py-name" href="#" onclick="return doclink('link-36', '_increase_value_by_delta', 'link-30');">_increase_value_by_delta</a></tt><tt class="py-op">(</tt><tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">7</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-37', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-38', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
</div><a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"> </tt>
<a name="DateEntryBase.h_month_less"></a><div id="DateEntryBase.h_month_less-def"><a name="L87"></a><tt class="py-lineno"> 87</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_month_less-toggle" onclick="return toggle('DateEntryBase.h_month_less');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_month_less">h_month_less</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_month_less-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_month_less-expanded"><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._reduce_value_by_delta" class="py-name" href="#" onclick="return doclink('link-39', '_reduce_value_by_delta', 'link-27');">_reduce_value_by_delta</a></tt><tt class="py-op">(</tt><tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">28</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-40', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-41', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
</div><a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">         </tt>
<a name="DateEntryBase.h_month_more"></a><div id="DateEntryBase.h_month_more-def"><a name="L92"></a><tt class="py-lineno"> 92</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_month_more-toggle" onclick="return toggle('DateEntryBase.h_month_more');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_month_more">h_month_more</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_month_more-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_month_more-expanded"><a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._increase_value_by_delta" class="py-name" href="#" onclick="return doclink('link-42', '_increase_value_by_delta', 'link-30');">_increase_value_by_delta</a></tt><tt class="py-op">(</tt><tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">timedelta</tt><tt class="py-op">(</tt><tt class="py-number">28</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-43', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-44', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
</div><a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"> </tt>
<a name="DateEntryBase.h_year_less"></a><div id="DateEntryBase.h_year_less-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_year_less-toggle" onclick="return toggle('DateEntryBase.h_year_less');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_year_less">h_year_less</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_year_less-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_year_less-expanded"><a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">                <tt class="py-name">old_value</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-45', 'value', 'link-3');">value</a></tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">                        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-46', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">month</tt> <tt class="py-op">==</tt> <tt class="py-number">2</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-47', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">day</tt> <tt class="py-op">==</tt> <tt class="py-number">29</tt><tt class="py-op">:</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">                                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-48', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-49', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">year</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-50', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">year</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">day</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-51', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">day</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">                        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">                                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-52', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-53', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">year</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-54', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">year</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-55', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-56', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-57', 'value', 'link-3');">value</a></tt><tt class="py-op">=</tt><tt class="py-name">old_value</tt> </tt>
</div><a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"> </tt>
<a name="DateEntryBase.h_year_more"></a><div id="DateEntryBase.h_year_more-def"><a name="L109"></a><tt class="py-lineno">109</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_year_more-toggle" onclick="return toggle('DateEntryBase.h_year_more');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_year_more">h_year_more</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_year_more-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_year_more-expanded"><a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">                <tt class="py-name">old_value</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-58', 'value', 'link-3');">value</a></tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">                        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-59', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">month</tt> <tt class="py-op">==</tt> <tt class="py-number">2</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-60', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">day</tt> <tt class="py-op">==</tt> <tt class="py-number">29</tt><tt class="py-op">:</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">                                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-61', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-62', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">year</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-63', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">year</tt><tt class="py-op">+</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">day</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-64', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">day</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">                        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">                                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-65', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-66', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">year</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-67', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">year</tt><tt class="py-op">+</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-68', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-69', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-70', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">old_value</tt> </tt>
</div><a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">                         </tt>
<a name="DateEntryBase.h_find_today"></a><div id="DateEntryBase.h_find_today-def"><a name="L121"></a><tt class="py-lineno">121</tt> <a class="py-toggle" href="#" id="DateEntryBase.h_find_today-toggle" onclick="return toggle('DateEntryBase.h_find_today');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.DateEntryBase-class.html#h_find_today">h_find_today</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DateEntryBase.h_find_today-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="DateEntryBase.h_find_today-expanded"><a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-71', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">today</tt><tt class="py-op">(</tt><tt class="py-op">)</tt>       </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_date" class="py-name" href="#" onclick="return doclink('link-72', '_check_date', 'link-28');">_check_date</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="npyscreen.monthbox.DateEntryBase._check_today_validity" class="py-name" href="#" onclick="return doclink('link-73', '_check_today_validity', 'link-29');">_check_today_validity</a></tt><tt class="py-op">(</tt><tt class="py-name">onErrorHigher</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"> </tt>
<a name="MonthBox"></a><div id="MonthBox-def"><a name="L126"></a><tt class="py-lineno">126</tt> <a class="py-toggle" href="#" id="MonthBox-toggle" onclick="return toggle('MonthBox');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="npyscreen.monthbox.MonthBox-class.html">MonthBox</a><tt class="py-op">(</tt><tt class="py-base-class">DateEntryBase</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="MonthBox-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="MonthBox-expanded"><a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt id="link-74" class="py-name" targets="Variable npyscreen.monthbox.MonthBox.DAY_FIELD_WIDTH=npyscreen.monthbox.MonthBox-class.html#DAY_FIELD_WIDTH"><a title="npyscreen.monthbox.MonthBox.DAY_FIELD_WIDTH" class="py-name" href="#" onclick="return doclink('link-74', 'DAY_FIELD_WIDTH', 'link-74');">DAY_FIELD_WIDTH</a></tt> <tt class="py-op">=</tt> <tt class="py-number">4</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">         </tt>
<a name="MonthBox.__init__"></a><div id="MonthBox.__init__-def"><a name="L129"></a><tt class="py-lineno">129</tt> <a class="py-toggle" href="#" id="MonthBox.__init__-toggle" onclick="return toggle('MonthBox.__init__');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.MonthBox-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">screen</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">keywords</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="MonthBox.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="MonthBox.__init__-expanded"><a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">                <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-75" class="py-name" targets="Class npyscreen.monthbox.MonthBox=npyscreen.monthbox.MonthBox-class.html"><a title="npyscreen.monthbox.MonthBox" class="py-name" href="#" onclick="return doclink('link-75', 'MonthBox', 'link-75');">MonthBox</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="npyscreen.Form.Form.__init__
npyscreen.FormWithMenus.ActionFormWithMenus.__init__
npyscreen.FormWithMenus.FormWithMenus.__init__
npyscreen.Menu.Menu.__init__
npyscreen.MenuScreen.MenuScreen.__init__
npyscreen.NMenuDisplay.MenuDisplay.__init__
npyscreen.NPSAppManaged.NPSAppManaged.__init__
npyscreen.NewMenu.MenuItem.__init__
npyscreen.NewMenu.NewMenu.__init__
npyscreen.Popup.ActionPopup.__init__
npyscreen.Popup.MessagePopup.__init__
npyscreen.Popup.Popup.__init__
npyscreen.button.MiniButton.__init__
npyscreen.checkbox.Checkbox.__init__
npyscreen.combobox.ComboBox.__init__
npyscreen.datecombo.DateCombo.__init__
npyscreen.editmultiline.MultiLineEdit.__init__
npyscreen.monthbox.DateEntryBase.__init__
npyscreen.monthbox.MonthBox.__init__
npyscreen.multiline.MultiLine.__init__
npyscreen.screen_area.ScreenArea.__init__
npyscreen.slider.Slider.__init__
npyscreen.textbox.Textfield.__init__
npyscreen.titlefield.TitleText.__init__
npyscreen.widget.Widget.__init__" class="py-name" href="#" onclick="return doclink('link-76', '__init__', 'link-2');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">screen</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">keywords</tt><tt class="py-op">)</tt> </tt>
</div><a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">                 </tt>
<a name="MonthBox.calculate_area_needed"></a><div id="MonthBox.calculate_area_needed-def"><a name="L132"></a><tt class="py-lineno">132</tt> <a class="py-toggle" href="#" id="MonthBox.calculate_area_needed-toggle" onclick="return toggle('MonthBox.calculate_area_needed');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.MonthBox-class.html#calculate_area_needed">calculate_area_needed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="MonthBox.calculate_area_needed-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="MonthBox.calculate_area_needed-expanded"><a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">                <tt class="py-comment"># Rember that although months only have 4-5 weeks, they can span 6 weeks.</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line"><tt class="py-comment"></tt>                <tt class="py-comment"># Currently allowing 2 lines for headers, so 8 lines total</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line"><tt class="py-comment"></tt>                <tt class="py-keyword">return</tt> <tt class="py-number">10</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="npyscreen.monthbox.MonthBox.DAY_FIELD_WIDTH" class="py-name" href="#" onclick="return doclink('link-77', 'DAY_FIELD_WIDTH', 'link-74');">DAY_FIELD_WIDTH</a></tt> <tt class="py-op">*</tt> <tt class="py-number">7</tt> </tt>
</div><a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">         </tt>
<a name="MonthBox.update"></a><div id="MonthBox.update-def"><a name="L137"></a><tt class="py-lineno">137</tt> <a class="py-toggle" href="#" id="MonthBox.update-toggle" onclick="return toggle('MonthBox.update');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.MonthBox-class.html#update">update</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">clear</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="MonthBox.update-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="MonthBox.update-expanded"><a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt id="link-78" class="py-name" targets="Method npyscreen.widget.Widget.clear()=npyscreen.widget.Widget-class.html#clear"><a title="npyscreen.widget.Widget.clear" class="py-name" href="#" onclick="return doclink('link-78', 'clear', 'link-78');">clear</a></tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="npyscreen.widget.Widget.clear" class="py-name" href="#" onclick="return doclink('link-79', 'clear', 'link-78');">clear</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">                 </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-80', 'value', 'link-3');">value</a></tt><tt class="py-op">:</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">addstr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">rely</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">relx</tt><tt class="py-op">,</tt> <tt class="py-string">"No value set"</tt><tt class="py-op">)</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">                <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">                        <tt class="py-name">year</tt>  <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-81', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">year</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">                        <tt class="py-name">month</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-82', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">month</tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">                        <tt class="py-name">day</tt>   <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-83" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-83', 'value', 'link-3');">value</a></tt><tt class="py-op">.</tt><tt class="py-name">day</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">                 </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">                        <tt class="py-comment"># Print the Title Line</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line"><tt class="py-comment"></tt>                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt><tt class="py-op">.</tt><tt class="py-name">curses_pad</tt><tt class="py-op">.</tt><tt class="py-name">addstr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">rely</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">relx</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-string">"%s - %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">year</tt><tt class="py-op">,</tt> <tt class="py-name">month</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">                 </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">                        <tt class="py-comment"># Print the day names</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt class="py-comment"></tt>                        <tt class="py-comment"># weekheader puts an extra space at the end of each name</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line"><tt class="py-comment"></tt>                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt><tt class="py-op">.</tt><tt class="py-name">curses_pad</tt><tt class="py-op">.</tt><tt class="py-name">addstr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">rely</tt><tt class="py-op">+</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">relx</tt><tt class="py-op">,</tt> <tt class="py-name">calendar</tt><tt class="py-op">.</tt><tt class="py-name">weekheader</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt id="link-84" class="py-name"><a title="npyscreen.monthbox.MonthBox.DAY_FIELD_WIDTH" class="py-name" href="#" onclick="return doclink('link-84', 'DAY_FIELD_WIDTH', 'link-74');">DAY_FIELD_WIDTH</a></tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">                 </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">                        <tt class="py-comment"># Print the days themselves</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt class="py-comment"></tt>                        <tt class="py-name">cal_data</tt> <tt class="py-op">=</tt> <tt class="py-name">calendar</tt><tt class="py-op">.</tt><tt class="py-name">monthcalendar</tt><tt class="py-op">(</tt><tt class="py-name">year</tt><tt class="py-op">,</tt> <tt class="py-name">month</tt><tt class="py-op">)</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">                        <tt class="py-name">print_line</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">rely</tt><tt class="py-op">+</tt><tt class="py-number">2</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">                 </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">                        <tt class="py-keyword">for</tt> <tt class="py-name">calrow</tt> <tt class="py-keyword">in</tt> <tt class="py-name">cal_data</tt><tt class="py-op">:</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line">                                <tt class="py-name">print_column</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">relx</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">                         </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">                                <tt class="py-keyword">for</tt> <tt class="py-name">thisday</tt> <tt class="py-keyword">in</tt> <tt class="py-name">calrow</tt><tt class="py-op">:</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">                                        <tt class="py-keyword">if</tt> <tt class="py-name">thisday</tt> <tt class="py-keyword">is</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">                                                <tt class="py-keyword">pass</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">                                        <tt class="py-keyword">elif</tt> <tt class="py-name">day</tt> <tt class="py-op">==</tt> <tt class="py-name">thisday</tt><tt class="py-op">:</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">                                                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt><tt class="py-op">.</tt><tt class="py-name">curses_pad</tt><tt class="py-op">.</tt><tt class="py-name">addstr</tt><tt class="py-op">(</tt><tt class="py-name">print_line</tt><tt class="py-op">,</tt> <tt class="py-name">print_column</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">thisday</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">A_STANDOUT</tt><tt class="py-op">)</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">                                        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">                                                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt><tt class="py-op">.</tt><tt class="py-name">curses_pad</tt><tt class="py-op">.</tt><tt class="py-name">addstr</tt><tt class="py-op">(</tt><tt class="py-name">print_line</tt><tt class="py-op">,</tt> <tt class="py-name">print_column</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">thisday</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">                                        <tt class="py-name">print_column</tt> <tt class="py-op">+=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="npyscreen.monthbox.MonthBox.DAY_FIELD_WIDTH" class="py-name" href="#" onclick="return doclink('link-85', 'DAY_FIELD_WIDTH', 'link-74');">DAY_FIELD_WIDTH</a></tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">                         </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">                                <tt class="py-name">print_line</tt> <tt class="py-op">+=</tt> <tt class="py-number">1</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">                        <tt class="py-comment"># Print some help</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line"><tt class="py-comment"></tt>                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt><tt class="py-op">.</tt><tt class="py-name">curses_pad</tt><tt class="py-op">.</tt><tt class="py-name">addstr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">rely</tt><tt class="py-op">+</tt><tt class="py-number">9</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">relx</tt><tt class="py-op">,</tt> <tt class="py-string">"keys: dwmyDWMYt"</tt><tt class="py-op">)</tt> </tt>
</div><a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line"> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">                 </tt>
<a name="MonthBox.set_up_handlers"></a><div id="MonthBox.set_up_handlers-def"><a name="L175"></a><tt class="py-lineno">175</tt> <a class="py-toggle" href="#" id="MonthBox.set_up_handlers-toggle" onclick="return toggle('MonthBox.set_up_handlers');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox.MonthBox-class.html#set_up_handlers">set_up_handlers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="MonthBox.set_up_handlers-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="MonthBox.set_up_handlers-expanded"><a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">                <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-86" class="py-name"><a title="npyscreen.monthbox.MonthBox" class="py-name" href="#" onclick="return doclink('link-86', 'MonthBox', 'link-75');">MonthBox</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-87" class="py-name"><a title="npyscreen.Form.Form.set_up_handlers
npyscreen.autocomplete.Autocomplete.set_up_handlers
npyscreen.checkbox.Checkbox.set_up_handlers
npyscreen.combobox.ComboBox.set_up_handlers
npyscreen.datecombo.DateCombo.set_up_handlers
npyscreen.editmultiline.MultiLineEdit.set_up_handlers
npyscreen.monthbox.DateEntryBase.set_up_handlers
npyscreen.monthbox.MonthBox.set_up_handlers
npyscreen.multiline.MultiLine.set_up_handlers
npyscreen.multiline.Pager.set_up_handlers
npyscreen.multiselect.MultiSelect.set_up_handlers
npyscreen.multiselect.MultiSelectFixed.set_up_handlers
npyscreen.slider.Slider.set_up_handlers
npyscreen.textbox.Textfield.set_up_handlers
npyscreen.widget.InputHandler.set_up_handlers" class="py-name" href="#" onclick="return doclink('link-87', 'set_up_handlers', 'link-10');">set_up_handlers</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">handlers</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="npyscreen.button.MiniButton.update
npyscreen.checkbox.Checkbox.update
npyscreen.combobox.ComboBox.update
npyscreen.datecombo.DateCombo.update
npyscreen.editmultiline.MultiLineEdit.update
npyscreen.monthbox.MonthBox.update
npyscreen.multiline.MultiLine.update
npyscreen.multiline.Pager.update
npyscreen.selectone.SelectOne.update
npyscreen.slider.Slider.update
npyscreen.textbox.FixedText.update
npyscreen.textbox.Textfield.update
npyscreen.titlefield.TitleText.update
npyscreen.widget.Widget.update" class="py-name" href="#" onclick="return doclink('link-88', 'update', 'link-11');">update</a></tt><tt class="py-op">(</tt><tt class="py-op">{</tt><tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">KEY_LEFT</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="npyscreen.monthbox.DateEntryBase.h_day_less" class="py-name" href="#" onclick="return doclink('link-89', 'h_day_less', 'link-12');">h_day_less</a></tt><tt class="py-op">,</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">                                                          <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">KEY_RIGHT</tt><tt class="py-op">:</tt>   <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="npyscreen.monthbox.DateEntryBase.h_day_more" class="py-name" href="#" onclick="return doclink('link-90', 'h_day_more', 'link-13');">h_day_more</a></tt><tt class="py-op">,</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">                                                          <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">KEY_UP</tt><tt class="py-op">:</tt>          <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="npyscreen.monthbox.DateEntryBase.h_week_less" class="py-name" href="#" onclick="return doclink('link-91', 'h_week_less', 'link-14');">h_week_less</a></tt><tt class="py-op">,</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">                                                          <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">KEY_DOWN</tt><tt class="py-op">:</tt>    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-92" class="py-name"><a title="npyscreen.monthbox.DateEntryBase.h_week_more" class="py-name" href="#" onclick="return doclink('link-92', 'h_week_more', 'link-15');">h_week_more</a></tt><tt class="py-op">,</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">                                                          <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">ascii</tt><tt class="py-op">.</tt><tt class="py-name">SP</tt><tt class="py-op">:</tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name" targets="Method npyscreen.widget.InputHandler.h_exit_down()=npyscreen.widget.InputHandler-class.html#h_exit_down"><a title="npyscreen.widget.InputHandler.h_exit_down" class="py-name" href="#" onclick="return doclink('link-93', 'h_exit_down', 'link-93');">h_exit_down</a></tt><tt class="py-op">,</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">                                                          <tt class="py-string">"^T"</tt><tt class="py-op">:</tt>               <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="npyscreen.monthbox.DateEntryBase.h_find_today" class="py-name" href="#" onclick="return doclink('link-94', 'h_find_today', 'link-20');">h_find_today</a></tt><tt class="py-op">,</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">                                                        <tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line"> </tt>
<a name="quicktest"></a><div id="quicktest-def"><a name="L185"></a><tt class="py-lineno">185</tt> <a class="py-toggle" href="#" id="quicktest-toggle" onclick="return toggle('quicktest');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="npyscreen.monthbox-module.html#quicktest">quicktest</a><tt class="py-op">(</tt><tt class="py-param">scr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="quicktest-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="quicktest-expanded"><a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">        <tt class="py-keyword">import</tt> <tt id="link-95" class="py-name" targets="Module npyscreen.screen_area=npyscreen.screen_area-module.html"><a title="npyscreen.screen_area" class="py-name" href="#" onclick="return doclink('link-95', 'screen_area', 'link-95');">screen_area</a></tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">        <tt class="py-name">SA</tt> <tt class="py-op">=</tt> <tt id="link-96" class="py-name"><a title="npyscreen.screen_area" class="py-name" href="#" onclick="return doclink('link-96', 'screen_area', 'link-95');">screen_area</a></tt><tt class="py-op">.</tt><tt id="link-97" class="py-name" targets="Class npyscreen.screen_area.ScreenArea=npyscreen.screen_area.ScreenArea-class.html"><a title="npyscreen.screen_area.ScreenArea" class="py-name" href="#" onclick="return doclink('link-97', 'ScreenArea', 'link-97');">ScreenArea</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">        <tt class="py-name">c</tt> <tt class="py-op">=</tt> <tt id="link-98" class="py-name"><a title="npyscreen.monthbox.MonthBox" class="py-name" href="#" onclick="return doclink('link-98', 'MonthBox', 'link-75');">MonthBox</a></tt><tt class="py-op">(</tt><tt class="py-name">SA</tt><tt class="py-op">,</tt> <tt class="py-name">allowTodaysDate</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-name">allowPastDate</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">rely</tt><tt class="py-op">=</tt><tt class="py-number">2</tt><tt class="py-op">,</tt> <tt class="py-name">relx</tt><tt class="py-op">=</tt><tt class="py-number">6</tt><tt class="py-op">)</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">        <tt class="py-name">c</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="npyscreen.slider.Slider.value
npyscreen.titlefield.TitleText.value" class="py-name" href="#" onclick="return doclink('link-99', 'value', 'link-3');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">datetime</tt><tt class="py-op">.</tt><tt class="py-name">date</tt><tt class="py-op">.</tt><tt class="py-name">today</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">        <tt class="py-name">c</tt><tt class="py-op">.</tt><tt id="link-100" class="py-name" targets="Method npyscreen.ActionForm.ActionForm.edit()=npyscreen.ActionForm.ActionForm-class.html#edit,Method npyscreen.Form.Form.edit()=npyscreen.Form.Form-class.html#edit,Method npyscreen.Menu.Menu.edit()=npyscreen.Menu.Menu-class.html#edit,Method npyscreen.NMenuDisplay.MenuDisplay.edit()=npyscreen.NMenuDisplay.MenuDisplay-class.html#edit,Method npyscreen.combobox.ComboBox.edit()=npyscreen.combobox.ComboBox-class.html#edit,Method npyscreen.datecombo.DateCombo.edit()=npyscreen.datecombo.DateCombo-class.html#edit,Method npyscreen.multiline.MultiLine.edit()=npyscreen.multiline.MultiLine-class.html#edit,Method npyscreen.multiline.Pager.edit()=npyscreen.multiline.Pager-class.html#edit,Method npyscreen.textbox.FixedText.edit()=npyscreen.textbox.FixedText-class.html#edit,Method npyscreen.textbox.Textfield.edit()=npyscreen.textbox.Textfield-class.html#edit,Method npyscreen.titlefield.TitleText.edit()=npyscreen.titlefield.TitleText-class.html#edit,Method npyscreen.widget.Widget.edit()=npyscreen.widget.Widget-class.html#edit"><a title="npyscreen.ActionForm.ActionForm.edit
npyscreen.Form.Form.edit
npyscreen.Menu.Menu.edit
npyscreen.NMenuDisplay.MenuDisplay.edit
npyscreen.combobox.ComboBox.edit
npyscreen.datecombo.DateCombo.edit
npyscreen.multiline.MultiLine.edit
npyscreen.multiline.Pager.edit
npyscreen.textbox.FixedText.edit
npyscreen.textbox.Textfield.edit
npyscreen.titlefield.TitleText.edit
npyscreen.widget.Widget.edit" class="py-name" href="#" onclick="return doclink('link-100', 'edit', 'link-100');">edit</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line"> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">__name__</tt> <tt class="py-op">==</tt> <tt class="py-string">"__main__"</tt><tt class="py-op">:</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">        <tt class="py-keyword">import</tt> <tt class="py-name">curses</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">        <tt class="py-keyword">import</tt> <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">wrapper</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">        <tt class="py-name">curses</tt><tt class="py-op">.</tt><tt class="py-name">wrapper</tt><tt class="py-op">(</tt><tt id="link-101" class="py-name" targets="Function npyscreen.monthbox.quicktest()=npyscreen.monthbox-module.html#quicktest"><a title="npyscreen.monthbox.quicktest" class="py-name" href="#" onclick="return doclink('link-101', 'quicktest', 'link-101');">quicktest</a></tt><tt class="py-op">)</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-string">"The circle is now complete"</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="npyscreen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0beta1 on Thu Mar 29 15:58:55 2007
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
